Skip to main content

DataPointsArray

DataPointsArray : {columns: string[] , dataValue: any[][] }

Data Points Array interface to define data for each row and column. Data is ordered as per the columns in the query and the rows are sorted as per the search query.

Defined in : link:https://github.com/thoughtspot/ts-chart-sdk/blob/f477c20/src/types/common.types.ts#L108

Parameters

columns

columns: string[]

Array of column IDs ordered as per the data query

dataValue

dataValue: any[][]

Array of rows of data ordered by the columns